<%@page import="beans.IdValue"%>

<jsp:useBean id="person" class="beans.Person" scope="session"/>
<jsp:useBean id="projectTitles" type="java.util.List" scope="request"/>

<html>
<body>
Welcome PM <%=person.email%>
<form method="post" action="PmServlet">
Select Project:
<select name="projectId">
<%
for(int i = 0; i < projectTitles.size(); i++) {
	IdValue v = (IdValue)projectTitles.get(i);
%>
	<option value="<%=v.id%>"><%=v.value%></option>
<%
}
%>
</select>
<input type="submit" value="Submit"/>
</form>
</body>
</html>